From: Jan Beulich Date: Wed, 3 Sep 2014 13:09:59 +0000 (+0200) Subject: x86/NMI: allow passing just "watchdog" again X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4483^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/?a=commitdiff_plain;h=fd553ae5f0f57baa63d033bedee84f607de57d33;p=xen.git x86/NMI: allow passing just "watchdog" again This capability got inadvertently lost in commit 3ea2ba980a ("x86/NMI: allow processing unknown NMIs when watchdog is enabled") due to an oversight of mine. Reported-by: Ross Lagerwall Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- diff --git a/xen/arch/x86/nmi.c b/xen/arch/x86/nmi.c index 055f4efc2d..f8f5e4a41c 100644 --- a/xen/arch/x86/nmi.c +++ b/xen/arch/x86/nmi.c @@ -49,6 +49,12 @@ bool_t watchdog_force = 0; static void __init parse_watchdog(char *s) { + if ( !*s ) + { + opt_watchdog = 1; + return; + } + switch ( parse_bool(s) ) { case 0: